package com.whosly.fast.web.quickly.common;

import lombok.Getter;

public enum ErrorCode {
    OK(0),

    BIZ_EXCEPT(1001),

    Unhandled(300),
    ClientError(400),
    ServerError(500),

    ;

    @Getter
    private Integer code;

    ErrorCode(Integer code) {
        this.code = code;
    }
}
